function SetListBlockViewButtonTypeFlow(context){
    const listBlockContext = quickams.checkData(context, "listBlockContext");
    const listBlock = quickams.checkData(context, "listBlock");

    const buttonTypeList = listBlockContext["listBlockContextOption"]["buttonTypeList"];
    if(null==buttonTypeList||buttonTypeList.length===0){
        return;
    }
    if(buttonTypeList.indexOf("VIEW")>=0){
        //添加查看详情按钮
        listBlock["operations"]["viewButton"] = {
            "type": "button",
            "label": "详情",
            "props":{
                "type": "primary",
            },
            "event": "viewItemDialog"
        };
    }

}